package com.linxi.rpccompensation.annotation;

import java.lang.annotation.*;

/**
 * @description: 补偿机制注解
 * @author: linxi
 * @date: 2021/9/22
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface Compensation {

	/**
	 * 指定请求api
	 *
	 * @return
	 */
	String api() default "";
}
